To make a lock request, add a lock event using the addLockEvent call. This section covers the simplest case of an addLockEvent call.
For the following more complex event requests, refer to their relevant pages:
/rest/v1/lp-ppe-api/price-quote/addLockEvent
There are no path parameters
Pass the following IDs, along with a scenario lock, any exception or extension data if applicable, the date, and a comment:
|
Copy Code | |
|---|---|
{
lockId: ObjectId;
lockStatusId: ObjectId;
priceQuoteId: ObjectId;
lockEventExceptionInfo: LockEventExceptionInfo;
lockEventExtensionInfo: LockEventExtensionInfo;
scenario: ScenarioLock;
lockDateUpdate: Date;
lockEventComment: String;
} | |
|
Copy Code | |
|---|---|
curl --location -g --request POST '{{protocol}}{{domain}}/rest/v1/lock/addLockEvent' \ --header 'secret: {{token}}' \ --header 'companyid: {{companyId}}' \ --data-raw '{ "lockId": "{{lockId}}", "lockStatusId": "{{lockStatusId}}", "priceQuoteId": "{{priceQuoteId}}", "lockEventExceptionInfo": null, "lockEventExtensionInfo": null }' | |
The response returns the lock data and any modification data.